<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Point cloud properties</title>
<link rel="stylesheet" type="text/css" href="../style.css">
</head>

<body>

<div align="center">
<table class=allEncompassingTable >
 <tr>
  <td >
<p><a href="../index.html" TARGET="_top"><img src="images/homeImg.png"></a></p>



<h1>Point cloud properties</h1>

<p>The point cloud properties are part of the <a href="sceneObjectPropertiesDialog.htm">scene object properties </a>dialog, which is located at [Menu bar --&gt; Tools --&gt; Scene object properties]. You can also open the dialog with a double-click on an object icon in the <a href="userInterface.htm#SceneHierarchy">scene hierarchy</a>, or with a click on its <a href="userInterface.htm#toolbars">toolbar</a> button:<br>
</p>

<p align=center><img src="images/objectPropertyToolbarButton.jpg"></p>
<p class=imageLabel>[Scene object properties toolbar button]</p>
<br>

<p>In the scene object properties dialog, click  the <strong>Point cloud</strong> button to display the OC tree dialog (the <strong>Point cloud</strong> button only appears if the last selection is a <a href="pointClouds.htm">point cloud</a>). The dialog displays the settings and parameters of the last selected point cloud:<br>
</p>


<p align=center><img src="images/pointCloudDialog1.jpg"></p>
<p class=imageLabel>[Point cloud dialog]</p>
<br>

<li><strong>Do not use OC tree calc. structure</strong>: by default, point clouds use an OC tree-like calculation structure for efficient point manipulation. Inserting points and removing points might be slowed down by this structure. If you enable this item, then point inserting will be more efficient, but the point cloud will not be <a href="collidableObjects.htm">collidable</a>, <a href="measurableObjects.htm">measurable</a> nor <a href="detectableObjects.htm">detectable</a> anymore, and some other operations might also be limited. You can always toggle this item at a later stage, or via <a href="regularApi/simSetPointCloudOptions.htm">sim.setPointCloudOptions</a>.</li>

<li><strong>Max. voxel size</strong>: the maximum size of the OC tree voxels, that will contain points. The smaller the size, the more memory will be used for the OC tree data structure this point cloud is based on.</li>

<li><strong>Max. point count / voxel</strong>: the maximum number of points a single OC tree voxel can contain. If more points need to be stored in such a voxel, it will be split into 8 child voxels until the constraint is satisfied. For efficient collision detection, distance calculation and proximity sensor detections, it is recommended to keep about 10-20 points stored in a single voxel. </li>

<li><strong>Insert selected visible objects</strong>: allows to insert points based on the selected, visible objects. Only <a href="dummies.htm">dummies</a>, <a href="shapes.htm">shapes</a>, <a href="octrees.htm">OC trees</a> and <a href="pointClouds.htm">point clouds</a> are taken into account. Select all objects you want to insert, then select last the target point cloud object. Shapes will previously be converted to a temporary OC tree with the specified <strong>build resolution</strong>. The <strong>Insert tolerance</strong> item allows to avoid having duplicate points, by specifying a minimum distance tolerance used to decide whether the point will be inserted or not. With an insert tolerance &gt; 0.0 the point insertion will be slower.</li>

<li><strong>Subtract selected visible objects</strong>: allows to subtract points based on the selected, visible objects. Only <a href="dummies.htm">dummies</a>, <a href="octrees.htm">OC trees</a> and <a href="pointClouds.htm">point clouds</a> are taken into account. Select all objects you want to subtract, then select last the target point cloud object. Dummies and point clouds will use a <strong>subtract tolerance</strong> value to identify points to remove.</li>

<li><strong>Clear point cloud</strong>: removes all the points from the point cloud.</li>
<li><strong>Points have random colors</strong>: each point will have a random color.</li>
<li><strong>Show OC tree structure</strong>: shows the underlying OC tree data structure, mainly for debugging purposes.</li>
<li><strong>Color is emissive</strong>: points will be shown in emissive colors.</li>
<li><strong>Point cnt display ratio</strong>: point clouds that contain a large number of points might slow down the rendering. By setting a ratio smaller than 1, a smaller amount of points will be displayed for each OC tree voxel that contains points. This has only an impact on the displayed/rendered image.</li>
<li><strong>Point size</strong>: the size of points, in pixels.</li>
<li><strong>Adjust color for next insertion</strong>: allows to select a new color, which will be used for new point insertions.</li>


<br>
<h3 class=recommendedTopics>Recommended topics</h3>
<li><a href="pointClouds.htm">Point clouds</a></li>

<br>
<br>


 </tr>
</table> 
</div>  
  
  
</body>

</html>
